#
## Makefile for  in /home/jousse_f//workspace/piscine_c++/d01
## 
## Made by florian jousseau
## Login   <jousse_f@epitech.net>
## 
## Started on  Wed Jan  4 10:46:56 2012 florian jousseau
## Last update Thu Feb 16 17:24:17 2012 florian jousseau
##

NAME = avm

CXX = g++

CXXFLAGS += -Werror -Wall -Wextra

SRC = 	main.cpp 		\
	action.cpp 		\
	Abstract.cpp 		\
	CreateOperand.cpp 	\
	Double.cpp 		\
	Exception.cpp 		\
	Float.cpp 		\
	Int16.cpp 		\
	Int32.cpp 		\
	Int8.cpp 		\
	Parser.cpp     		\
	checkStack.cpp

OBJ = $(SRC:.cpp=.o)

$(NAME):     $(OBJ)
	$(CXX) $(OBJ) -o $(NAME) $(CXXFLAGS)

all:	$(NAME)

clean:
	@rm -f $(OBJ)
	clean

fclean: clean
	$(RM) $(NAME)

y: 	all
	clean

re:	fclean all


